<template>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="crumb.path?{path:crumb.path}:''" v-for="crumb in crumbs" :key='crumb.path'>{{ crumb.title }}</el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  props: {
    crumbs: {
      type: Array
    }
  }
}
</script>
